TimePlusHour


This function adds one hour from given parameters with respect to the date and then assigns the date value to each variable. The intercalation is also calculated.

 

void TimePlusHour(int year, int mon, int day, int hour);

 

Parameters

year               : Year (tag or variable)

mon              : Month (tag or variable)

day                : Day (tag or variable)

hour              : Hour (tag or variable)

 

Return Value

There is not a return value.

 

Example1 : If it used variables in a script)

year = 2000;

mon = 1;

day = 14;

hour = 12;

@TimePlusHour(year, mon, day, hour);

Description : It is the January 14, 2000, 13:00:00. In other words, year = 2000, mon = 1, day = 14, hour = 13

 

Example2 : If it used memory tags in a script)

$year = 2000;

$mon = 1;

$day = 14;

$hour = 12;

@TimePlusHour($year, $mon, $day, $hour);

Description : Tags can be used immediately as parameters. $year = 2000, $mon = 1, $day = 14, $hour = 13

 

Related Helps)

@TimeFromString()

@TimeGetWaiting()

@TimeMinusDay()

@TimeMinusHour()

@TimeMinusMin()

@TimeMinusMon()

@TimeMinusSec()

@TimePlusDay()

@TimePlusHour()

@TimePlusMin()

@TimePlusMon()

@TimePlusSec()

@TimeSetLocalTime()

@TimeSolarToLunar()